$OpenBSD: patch-provider_client_ECChangeAdvisor_cpp,v 1.4 2016/04/20 18:38:41 robert Exp $
--- provider/client/ECChangeAdvisor.cpp.orig	Wed Apr 20 13:13:54 2016
+++ provider/client/ECChangeAdvisor.cpp	Wed Apr 20 19:54:13 2016
@@ -25,6 +25,9 @@
 #include "ECChangeAdvisor.h"
 #include "ECMsgStore.h"
 
+#ifdef __OpenBSD__
+#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
+#endif
 
 #ifdef _DEBUG
 #define new DEBUG_NEW
